{% extends 'dash/index.html' %}
{% block 'content_show' %}
<!-- block 模块 -->
<!-- title -->
<div class="container-fluid am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
            <div class="page-header-heading">
            	<span class="am-icon-home page-header-heading-icon"></span> 
            	订单详情列表 
            	<small>Order Detail</small>
            </div>
        </div>
    </div>
</div>
<!-- END title -->

<!-- 订单详情列表 -->
<div class="row">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-body  am-fr">
                    <!-- 控制选项 -->
                    <!-- <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                        <div class="am-form-group">
                             <div class="am-btn-toolbar">
                                 <div class="am-btn-group am-btn-group-xs">
                                     <button type="button" class="am-btn am-btn-default am-btn-success"><span class="am-icon-plus"></span> 新增</button>
                                     <button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"</button>
                                     <button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>
                                     <button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>
                                 </div>
                             </div>
                        </div>
                    </div> -->
                    <!-- 控制选项END -->

                    <form>
                        <!-- 条件筛选 -->
                        <!-- <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                            <div class="am-form-group tpl-table-list-select">
                                <select name="search_type" data-am-selected="{btnSize: 'sm'}" style="display: none;">
                                  <option value="order">订单编号</option>
                                  <option value="order_state">订单状态</option>
                                </select>
                            </div>
                        </div> -->
                        <!-- 条件筛选END -->

                        <!-- 输入框 -->
                        <!-- <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                            <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                                <input name="keywords" type="text" class="am-form-field ">
                                <span class="am-input-group-btn">
                                    <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"></button>
                                </span>
                            </div>
                        </div> -->
                        <!-- END输入框 -->
                    </form>

                    <div class="am-u-sm-12">
                <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                    <thead>
                        <!-- 订单详情数据头 -->
                        <tr>
                            <th>所属订单</th>
                            <th>图片</th>
                            <th>商品id</th>
                            <th>名称</th>
                            <th>单价</th>
                            <th>购买数量</th>
                        </tr>
                        <!-- 订单详情数据头END -->
                    </thead>
                    <tbody>
                        <!-- 订单详情数据 -->
                        
                        {% for v in items_info %}
                        <tr class="gradeX">

                            <!-- 所属订单 -->
                            <td class="am-text-middle">{{ v.orderid }}</td>
                            <!-- 所属订单END -->

                            <!-- 商品图片 -->
                            <td>
                                <img src="/static/goods/{{ v.goodspic }}" class="tpl-table-line-img" alt="" height="100">
                            </td>
                            <!-- 商品图片END -->

                            <!-- id -->
                            <td class="am-text-middle">{{ v.goodsid }}</td>
                            <!-- idEND -->

                            <!-- 名称 -->
                            <td class="am-text-middle">{{ v.title }}</td>
                            <!-- 名称END -->

                            <!-- 单价 -->
                            <td class="am-text-middle">{{ v.price }}</td>
                            <!-- 单价END -->

                            <!-- 购买数量 -->
                            <td class="am-text-middle">{{ v.num }}</td>
                            <!-- 购买数量END -->

                        </tr>
                        {% endfor %}

                        <!-- 订单详情数据END -->
                    </tbody>
                </table>
                    </div>
                    <div class="am-u-lg-12 am-cf">

                        <!-- 分页 -->
                         
                        <!-- 分页END -->

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- END 订单详情列表 -->

<!-- END block 模块 -->
{% endblock %}